package com.Apo1o.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "oss.config")
public class OSSConfig {

    //public boolean enable = false;

    public String endpoint = "oss-cn-shanghai.aliyuncs.com";

    public String accesskeyid = "LTAI5tSqzkqpENmG36YjiZGT";

    public String accesskeysecret = "pF2pfdjha1Li72yJU5mAlSdWxaG8Q5";

    public String bucketname = "exam-llc";

    public String key = "images/upload/";

    public String host = "oss-cn-shanghai.aliyuncs.com";

}
